package com.yeeiee.config;

import lombok.experimental.UtilityClass;
import org.apache.flink.configuration.ConfigOption;
import org.apache.flink.configuration.ConfigOptions;

@UtilityClass
public class JdbcCatalogConfig {
    public ConfigOption<String> url = ConfigOptions.key("url")
            .stringType()
            .noDefaultValue();

    public ConfigOption<String> username = ConfigOptions.key("username")
            .stringType()
            .noDefaultValue();

    public ConfigOption<String> password = ConfigOptions.key("password")
            .stringType()
            .noDefaultValue();

    public ConfigOption<String> driver = ConfigOptions.key("driver")
            .stringType()
            .noDefaultValue();
}
